
package cn.afterturn.oneopen.model;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.Date;

/**
 * API信息表
 *
 * @author JueYue
 * @Date 2019-10-08 22:25:52
 */
@Data
@TableName(value = "gw_api_info")
public class ApiInfoModel extends Model<ApiInfoModel> {

    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @TableField(value = "url", strategy = FieldStrategy.NOT_EMPTY)
    private String url;

    @TableField(value = "name", strategy = FieldStrategy.NOT_EMPTY)
    private String name;

    @TableField(value = "tag", strategy = FieldStrategy.NOT_EMPTY)
    private String tag;

    @TableField(value = "params", strategy = FieldStrategy.NOT_EMPTY)
    private String params;

    @TableField(value = "result_params", strategy = FieldStrategy.NOT_EMPTY)
    private String resultParams;

    @TableField(value = "crt_time")
    private Date crtTime;

    @TableField(value = "status")
    private Integer status;

    @TableField(value = "price")
    private Integer price;
}
